{include file="admin/public/header" /}
<form role="form" method="post" action="{:url('ajax/setting/saveconfig')}" class ="cmzForm">
<style type="text/css">
	.tab-pane{padding-top: 20px;padding: 20px;}
</style>
	<div class="row">
            <div class="col-sm-12">
            <div class="tabs-container">
                    <div style="clear:both;height:20px"></div>
                    <div class="tab-content">
                        <div id="tab-1" class="tab-pane active">
			                 <div class="ibox float-e-margins">
			                        <div class="row">
			                            <div class="col-sm-12 b-r">
			                               <div class="ibox-title">
						                        <a class="label label-primary pull-right tip" id="admin" msg="网站的站点功能配置信息">站点功能<i class="fa fa-question"></i></a>
						                        <h5>站点功能</h5>
						                    </div>
						                    <div class="ibox-content">
						                     <table class="table table-striped">
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('网站名称'); ?>:</span>
                            <div class="col-sm-5 col-xs-8">
                                <input type="text" class="form-control" name="site_name" value="<?php echo $config['site_name']; ?>">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('网站简介'); ?>:</span>
                            <div class="col-sm-5 col-xs-8">
                                <textarea class="form-control textarea" rows="4" name="description"  ><?php echo $config['description']; ?></textarea>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('网站关键词'); ?>:</span>
                            <div class="col-sm-5 col-xs-8">
                                <textarea class="form-control textarea" rows="4" name="keywords"  ><?php echo $config['keywords']; ?></textarea>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('网站 ICP 备案号'); ?>:</span>
                            <div class="col-sm-5 col-xs-8">
                                <input name="icp_beian" class="form-control" type="text" value="<?php echo $config['icp_beian']; ?>"/>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('上传目录外部访问 URL 地址'); ?>:</span>
                            <div class="col-sm-5 col-xs-8">
                                <input name="upload_url" class="form-control" type="text" value="<?php echo $config['upload_url']; ?>"/>

                                <span class="help-block"><?php e('末尾不带 / 或 \\'); ?></span>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('上传文件存放绝对路径'); ?></span>
                            <div class="col-sm-5 col-xs-8">
                                <input name="upload_dir" class="form-control" type="text" value="<?php echo $config['upload_dir']; ?>"/>

                                <span class="help-block"><?php e('末尾不带 / 或 \，目前网站根目录绝对路径：'); echo ROOT_PATH; ?></span>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="form-group">
                            <span class="col-sm-4 col-xs-3 control-label"><?php e('static 目录资源 URL 地址'); ?></span>
                            <div class="col-sm-5 col-xs-8">
                                <input name="img_url" class="form-control" type="text" value="<?php echo $config['img_url']; ?>"/>

                                <span class="help-block"><?php e('末尾不带 / 或 \，留空使用根目录下的 static 资源'); ?></span>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
			                    			</div>
			                            </div>
			                            
			                        </div>  
			                        <div style="clear:both;height:5px"></div> 
			                        <div class="hr-line-dashed"></div>
			                            <div class="form-group">
			                                <div class="col-sm-4 col-sm-offset-2">
			                                 <a href="javascript:;" class="btn btn-sm btn-primary pull-left m-t-n-xs cmzPost" style="margin-left:20px;,margin-top:20px;"><strong>提交配置</strong></a>
			                                </div>
			                            </div>
			                         
                    				 <div style="clear:both;height:5px"></div>    
			                </div>
                        </div>




                        


                    </div>


                </div>



             
            </div>
        
           
</div>
<div style="clear:both;"></div>
 <div>
  	 
  
	</div>


           
   </form>

{include file="admin/public/footer" /}